package com.ssm.util.alg.luckydraw;

public class Award {
    /**编号*/
    public String id;
    /**概率（0.1代表10%，最多3位小数，即千分之一级）*/
    public float probability;
    /**数量（该类奖品剩余数量）*/
    public int count;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public float getProbability() {
        return probability;
    }

    public void setProbability(float probability) {
        this.probability = probability;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Award() {
    }

    public Award(String id, float probability, int count) {
        this.id = id;
        this.probability = probability;
        this.count = count;
    }
}
